﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IRPG
{
    class Program
    {
        //public event NotifyHandler Notify;
        static void Main(string[] args)
        {
            //ROLE<bool> one = new ROLE<bool>("觉夜");
            ROLE<IronSword> two = new ROLE<IronSword>("小四");
            ROLE<MagicSword> three = new ROLE<MagicSword>("枫");

            Monster small = new Monster("小怪", 200);
            Monster boss = new Monster("BOSS", 1000);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            three.Current().Attack(boss);
            two.Current().Attack(small);
            Console.WriteLine(small.HP.ToString());
            Console.ReadLine();
        }
    }
}
